<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="shiro"  uri="http://shiro.apache.org/tags" %>
<%@ taglib prefix="t"  uri="/thunms"%>
<t:head  autoLoadJavaScript="/schedule/quartz/qrtzTriggers-default.js,/schedule/quartz/qrtzTriggers-expand.js" 
         autoLoadCss="/schedule/quartz/qrtzTriggers-default.css,/schedule/quartz/qrtzTriggers-expand.css" />

<body class="easyui-layout" fit="true">
	<div region="center" border="false" style="overflow: hidden;">
		<div id="toolbar" class="datagrid-toolbar" style="height: auto;">
		<fieldset>
				<legend>查询条件</legend>
				<form id="qrtzTriggersSearchForm" name="qrtzTriggersSearchForm" >
				<table >
				<tr>
					<th>Trigger名称：</th>
					<td><input type="text" name="triggerName"  /></td>
					<th>Trigger分组：</th>
					<td>
					<input type="text" name="triggerGroup"  />
					</td>
				</tr>
				
				</table>
				</form>
				<div align="right">
						<a class="easyui-linkbutton" iconCls="icon-search" plain="true" onclick="searchFun();" href="javascript:void(0);">查询</a>
						<a class="easyui-linkbutton" iconCls="icon-search" plain="true" onclick="clearFun();" href="javascript:void(0);">清空</a>
					</div>
			</fieldset>
			<div align="right" >
				<a class="easyui-linkbutton" iconCls="icon-undo" onclick="qrtzTriggersDataGrid.datagrid('unselectAll');" plain="true" href="javascript:void(0);">取消选中</a>
				<a class="easyui-linkbutton" iconCls="icon-add" onclick="qrtzTriggersSuspend();" plain="true" href="javascript:void(0);">暂停</a>
				<a class="easyui-linkbutton" iconCls="icon-edit" onclick="qrtzTriggersRecovery();" plain="true" href="javascript:void(0);">恢复</a>
				<a class="easyui-linkbutton" iconCls="icon-add" onclick="qrtzTriggersSuspendAll();" plain="true" href="javascript:void(0);">暂停所有</a>
				<a class="easyui-linkbutton" iconCls="icon-edit" onclick="qrtzTriggersRecoveryAll();" plain="true" href="javascript:void(0);">恢复所有</a>
				<a class="easyui-linkbutton" iconCls="icon-add" onclick="qrtzTriggersStartAll();" plain="true" href="javascript:void(0);">启动所有</a>
				<a class="easyui-linkbutton" iconCls="icon-edit" onclick="qrtzTriggersShutdownAll();" plain="true" href="javascript:void(0);">停止所有</a>
				<a class="easyui-linkbutton" iconCls="icon-edit" onclick="qrtzTriggersSimulation();" plain="true" href="javascript:void(0);">模拟执行</a>
				<a class="easyui-linkbutton" iconCls="icon-edit" onclick="qrtzTriggersUpdateCron();" plain="true" href="javascript:void(0);">规则修改</a>
				<a class="easyui-linkbutton" iconCls="icon-remove" onclick="qrtzTriggersRemove();" plain="true" href="javascript:void(0);">删除</a>
				
			</div>
		</div>
		<table id="qrtzTriggersDataGrid"></table>
	</div>
	
	<div id="menu" class="easyui-menu" style="width:120px;display: none;">
		<div onclick="qrtzTriggersRemove();" iconCls="icon-remove">删除</div>
	</div>
</body>

